<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>欢迎界面</title>
    <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.js"></script>

</head>
<body>
<p>欢迎您，<span id="chName"></span></p>
</body>
<script>
    var localData = JSON.parse(localStorage.getItem('localData')); //获取储存数据
    $("#chName").text(localData.data.chName);
</script>
</html>